home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C++ / Applications / SeeMovieRun 2.0 / Headers / CMovie.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-02  |  1.1 KB  |  47 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CMovie.h
  3.  
  4.         Interface for the Movie Class
  5.         
  6.         Copyright © 1992 Joe Zobkiw. All rights reserved.
  7.  
  8.     Copyright © 1995 Gregory Bonk. All rights reserved.
  9.         Changes upgrade to TPM 7.0.7
  10.  ******************************************************************************/
  11.  
  12. #pragma once
  13.  
  14. #include "Movies.h"
  15.  
  16. class CMovie : public CPane 
  17. {    
  18. public: TCL_DECLARE_CLASS
  19.  
  20. CMovie();
  21. ~CMovie();
  22.  
  23. void    ForgetInstanceVariables(void);
  24.     
  25. //    Instance Methods
  26.     void                IMovie(CView *anEnclosure, CBureaucrat *aSupervisor,
  27.                             short aWidth, short aHeight,
  28.                             short aHEncl, short aVEncl,
  29.                             SizingOption aHSizing, SizingOption aVSizing,
  30.                             FSSpec *aMovieSpec);
  31.     
  32.     virtual void         ProviderChanged( CCollaborator *aProvider, 
  33.                                          long reason, 
  34.                                          void* info);
  35.     virtual void        DoClick(Point hitPt, short modifierKeys, long when);
  36.     
  37.     virtual void        ImportMovie(FSSpec *aSpec);
  38.     virtual void        Dawdle(long    *maxSleep);
  39.     virtual void        Draw(Rect *area);
  40.         
  41. //    Instance Variables
  42.     Movie                itsMovie;
  43.     short                itsMovieRefNum;
  44.     MovieController        itsController;
  45.  
  46. };
  47.